@import "@/styles/variables.less";

.sidenav-container {
  width: 25vw;
  padding: 16px 0;
  background-color: #f8f8f8;
  &.disabled{
    opacity: 0.5;
  }
  .sidenav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: #333;
    background-color: transparent;
    transition: all 0.3s ease;

    &.active {
      color: @primary-color;
      background-color: #e8edf4;
    }
    .sidenav-item-sub {
      position: absolute;
      width: @size-xs;
      height: @size-xs;
      border-radius: 50%;
      background-color: @light-primary-bg;
      color: @primary-color;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2px;
      z-index: 9;
      right: -6px;
      top: -6px;
      font-size: @size-xs;
      border: 1px solid @primary-color;
    }
  }

  .sidenav-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .sidenav-label {
    font-size: @size-sm;
  }
}
